package com.oauth.linkedin.client.rpc;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.oauth.linkedin.client.beans.LinkedinModel;
import com.oauth.linkedin.client.beans.LinkedinUser;

public interface LinkedinRemoteServiceAsync {

	public static final LinkedinRemoteServiceAsync INSTANCE = GWT
			.create(LinkedinRemoteService.class);

	void getConnections(AsyncCallback<List<LinkedinUser>> callback);

	void getUpdates(AsyncCallback<List<LinkedinUser>> callback);

	void updateStatus(String pText, AsyncCallback<Boolean> callback);

	void getLinkedInData(AsyncCallback<LinkedinModel> callback);
}
